<template>
	<view class="test-list" @click="mykips">
		<view class="left-li">
			<view class="t-icon" :class="list.icon" ></view>
			<text>{{list.title}}</text>
		</view>
		<view class="rig-li">
			<uni-icons type="right" size="20" color="#999"></uni-icons>
		</view>
	</view>
</template>

<script>
	export default {
		props:['list'],
		setup(props,context) {
			const mykips=()=>{
				context.emit('mygren',props.list.path)
			}
			
			return {
				mykips
			}
		}
	}
</script>

<style lang="scss">
.test-list{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 36rpx;
	height: 120rpx;
	border-bottom: 1px solid #eee;
	&:last-child{
		border:none;
	}
	.left-li{
		display: flex;
		align-items: center;
		.t-icon{
			font-size: 48rpx;
			// color: #0066ff;
			margin-right: 20rpx;			
		}
		
		
	}
}
</style>
